/**
 * 
 */
package test;

/**
 * @author Michal Antolik
 *
 */
public class NSGEN {

	private int iterator = 0;;
	private Object outData;
	
	public Integer run(Integer p){
		if(iterator == 10){
			System.out.println("NSGEN - ending");
			return null; //do nothing
		}
		
		outData = "data" + iterator++;
		System.out.println("NSGEN - " + (String)outData);
		return 3;
	}
	
	public Object getdata(){
		return outData;
	}
	
	public void start(){
		//nothing
	}
	
	public void stop(){
		//nothing
	}
}
